
<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
  
  <title>记Fedora 21 Yun源配置和软件安装 | 安生</title>
  <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
  <meta name="description" content="因为不小心把CentOS搞崩了，没办法．借着给同学装系统的机会，就把系统重新装了．这个安装的是Fedora21，直接刻u盘，u盘引导启动安装即可，这里不再细说，直接说安装完后．
安装完Fedora，首先，重新配置了一下yum源，这个测试了一下，因为平时在教育网的时间比较多，官方源就试了下清华的．果然，清华的源就是给力，教育网更新速度在20Mbps以上，比较给力．这里直接给出清华源的配置文件，其他的">
<meta property="og:type" content="article">
<meta property="og:title" content="记Fedora 21 Yun源配置和软件安装">
<meta property="og:url" content="http://localhost/2014/12/17/记Fedora-21-Yun源配置和软件安装/index.html">
<meta property="og:site_name" content="安生">
<meta property="og:description" content="因为不小心把CentOS搞崩了，没办法．借着给同学装系统的机会，就把系统重新装了．这个安装的是Fedora21，直接刻u盘，u盘引导启动安装即可，这里不再细说，直接说安装完后．
安装完Fedora，首先，重新配置了一下yum源，这个测试了一下，因为平时在教育网的时间比较多，官方源就试了下清华的．果然，清华的源就是给力，教育网更新速度在20Mbps以上，比较给力．这里直接给出清华源的配置文件，其他的">
<meta property="og:updated_time" content="2016-04-11T05:46:51.000Z">
<meta name="twitter:card" content="summary">
<meta name="twitter:title" content="记Fedora 21 Yun源配置和软件安装">
<meta name="twitter:description" content="因为不小心把CentOS搞崩了，没办法．借着给同学装系统的机会，就把系统重新装了．这个安装的是Fedora21，直接刻u盘，u盘引导启动安装即可，这里不再细说，直接说安装完后．
安装完Fedora，首先，重新配置了一下yum源，这个测试了一下，因为平时在教育网的时间比较多，官方源就试了下清华的．果然，清华的源就是给力，教育网更新速度在20Mbps以上，比较给力．这里直接给出清华源的配置文件，其他的">
  
    <link rel="alternative" href="/atom.xml" title="安生" type="application/atom+xml">
  
  
    <link rel="icon" href="/favicon.png">
  
  <link rel="stylesheet" href="/css/style.css">
  <link href="//fonts.useso.com/css?family=Source+Code+Pro" rel="stylesheet" type="text/css">
  <!--[if lt IE 9]><script src="//cdnjs.cloudflare.com/ajax/libs/html5shiv/3.7/html5shiv.min.js"></script><![endif]-->
  
</head>
<body>
<div id="container">
  <div id="wrap">
    <header id="header">
  <div id="banner"></div>
  <div id="header-outer" class="outer">
    <div id="header-title" class="inner">
      <h1 id="logo-wrap">
        <a href="/" id="logo">安生</a>
      </h1>
      
    </div>
    <div id="header-inner" class="inner">
      <nav id="main-nav">
        <a id="main-nav-toggle" class="nav-icon"></a>
        
          <a class="main-nav-link" href="/">Home</a>
        
          <a class="main-nav-link" href="/archives">Archives</a>
        
      </nav>
      <nav id="sub-nav">
        
          <a id="nav-rss-link" class="nav-icon" href="/atom.xml" title="RSS Feed"></a>
        
        <a id="nav-search-btn" class="nav-icon" title="Search"></a>
      </nav>
      <div id="search-form-wrap">
        <form action="http://www.baidu.com/baidu" method="get" accept-charset="utf-8" class="search-form">
          <input type="search" name="word" maxlength="20" class="search-form-input" placeholder="Search">
          <input type="submit" value="" class="search-form-submit">
          <input name=tn type=hidden value="bds">
          <input name=cl type=hidden value="3">
          <input name=ct type=hidden value="2097152">
          <input type="hidden" name="si" value="localhost">
        </form>
      </div>
    </div>
  </div>
</header>
    <div class="outer">
      <section id="main"><article id="post-记Fedora-21-Yun源配置和软件安装" class="article article-type-post" itemscope itemprop="blogPost">
  <div class="article-meta">
    <a href="/2014/12/17/记Fedora-21-Yun源配置和软件安装/" class="article-date">
  <time datetime="2014-12-16T20:31:00.000Z" itemprop="datePublished">2014-12-17</time>
</a>
    
  </div>
  <div class="article-inner">
    
    
      <header class="article-header">
        
  
    <h1 class="article-title" itemprop="name">
      记Fedora 21 Yun源配置和软件安装
    </h1>
  

      </header>
    
    <div class="article-entry" itemprop="articleBody">
      
        <p>因为不小心把CentOS搞崩了，没办法．借着给同学装系统的机会，就把系统重新装了．这个安装的是Fedora21，直接刻u盘，u盘引导启动安装即可，这里不再细说，直接说安装完后．</p>
<p>安装完Fedora，首先，重新配置了一下yum源，这个测试了一下，因为平时在教育网的时间比较多，官方源就试了下清华的．果然，清华的源就是给力，教育网更新速度在20Mbps以上，比较给力．这里直接给出清华源的配置文件，其他的源参照修改即可．</p>
<p>首先是fedora.repo</p>
<pre><code>[fedora] 
name=Fedora $releasever - $basearch - ustc
failovermethod=priority 
baseurl=http://mirrors.tuna.tsinghua.edu.cn/fedora/releases/$releasever/Everything/$basearch/os/ 
#mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=fedora-$releasever&amp;amp;arch=$basearch 
enabled=1 
metadata_expire=7d 
gpgcheck=1 
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$basearch 
#priority=1

[fedora-debuginfo] 
name=Fedora $releasever - $basearch - Debug - ustc
failovermethod=priority 
baseurl=http://mirrors.tuna.tsinghua.edu.cn/fedora/releases/$releasever/Everything/$basearch/debug/ 
#mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=fedora-debug-$releasever&amp;amp;arch=$basearch 
enabled=0 
metadata_expire=7d 
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$basearch 
#priority=1

[fedora-source] 
name=Fedora $releasever - Source - ustc
failovermethod=priority 
baseurl=http://mirrors.tuna.tsinghua.edu.cn/fedora/releases/$releasever/Everything/source/SRPMS/ 
#mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=fedora-source-$releasever&amp;amp;arch=$basearch 
enabled=0 
metadata_expire=7d 
gpgcheck=1 
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$basearch 
#priority=1
然后，fedora-updates.repo

[updates]
name=Fedora $releasever - $basearch - Updates - ustc
failovermethod=priority 
baseurl=http://mirrors.tuna.tsinghua.edu.cn/fedora/updates/$releasever/$basearch/ 
#mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=updates-released-f$releasever&amp;amp;arch=$basearch 
enabled=1 
gpgcheck=1 
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$basearch 
#priority=1

[updates-debuginfo] 
name=Fedora $releasever - $basearch - Updates - Debug -ustc
failovermethod=priority 
baseurl=http://mirrors.tuna.tsinghua.edu.cn/fedora/updates/$releasever/$basearch/debug/ 
#mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=updates-released-debug-f$releasever&amp;amp;arch=$basearch 
enabled=0 
gpgcheck=1 
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$basearch 
#priority=1

[updates-source] 
name=Fedora $releasever - Updates Source - ustc
failovermethod=priority 
baseurl=http://mirrors.tuna.tsinghua.edu.cn/fedora/updates/$releasever/SRPMS/ 
#mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=updates-released-source-f$releasever&amp;amp;arch=$basearch 
enabled=0 
gpgcheck=1 
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$basearch 
#priority=1
</code></pre>
      
    </div>
    <footer class="article-footer">
      
        <a data-url="http://localhost/2014/12/17/记Fedora-21-Yun源配置和软件安装/" data-id="cimvrqg260008kyfey2oqh3w1" class="article-share-link">分享到</a>
      

      
        <a href="http://localhost/2014/12/17/记Fedora-21-Yun源配置和软件安装/#ds-thread" class="article-comment-link">评论</a>
      

      
    </footer>
  </div>
  
    
<nav id="article-nav">
  
    <a href="/2015/04/16/科学上网，简易教程/" id="article-nav-newer" class="article-nav-link-wrap">
      <strong class="article-nav-caption">下一篇</strong>
      <div class="article-nav-title">
        
          科学上网，简易教程
        
      </div>
    </a>
  
  
    <a href="/2014/12/09/Linux运维文档之nginx【转】/" id="article-nav-older" class="article-nav-link-wrap">
      <strong class="article-nav-caption">上一篇</strong>
      <div class="article-nav-title">Linux运维文档之nginx【转】</div>
    </a>
  
</nav>

  
</article>


  <section id="comments">
    <div id="ds-thread" class="ds-thread" data-thread-key="2014/12/17/记Fedora-21-Yun源配置和软件安装/" data-title="记Fedora 21 Yun源配置和软件安装" data-url="http://localhost/2014/12/17/记Fedora-21-Yun源配置和软件安装/"></div>
  </section>
</section>
      
      <aside id="sidebar">
  
    
  
    
  
    
  
    
  <div class="widget-wrap">
    <h3 class="widget-title">归档</h3>
    <div class="widget">
      <ul class="archive-list"><li class="archive-list-item"><a class="archive-list-link" href="/archives/2015/05/">五月 2015</a><span class="archive-list-count">1</span></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2015/04/">四月 2015</a><span class="archive-list-count">1</span></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2014/12/">十二月 2014</a><span class="archive-list-count">2</span></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2014/11/">十一月 2014</a><span class="archive-list-count">2</span></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2014/07/">七月 2014</a><span class="archive-list-count">2</span></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2014/06/">六月 2014</a><span class="archive-list-count">1</span></li></ul>
    </div>
  </div>

  
    
  <div class="widget-wrap">
    <h3 class="widget-title">近期文章</h3>
    <div class="widget">
      <ul>
        
          <li>
            <a href="/2015/05/01/Linux服务器配置与LNMP安装实录-1/">Linux服务器配置与LNMP安装实录---(1)</a>
          </li>
        
          <li>
            <a href="/2015/04/16/科学上网，简易教程/">科学上网，简易教程</a>
          </li>
        
          <li>
            <a href="/2014/12/17/记Fedora-21-Yun源配置和软件安装/">记Fedora 21 Yun源配置和软件安装</a>
          </li>
        
          <li>
            <a href="/2014/12/09/Linux运维文档之nginx【转】/">Linux运维文档之nginx【转】</a>
          </li>
        
          <li>
            <a href="/2014/11/26/CentOS-7安装完第一步：yum源配置/">CentOS 7安装完第一步：yum源配置</a>
          </li>
        
      </ul>
    </div>
  </div>

  
    
  <div class="widget-wrap">
    <h3 class="widget-title">友情链接</h3>
    <div class="widget">
      <ul>
        
          <li>
            <a href="http://xiguabaobao.com" target="_blank">主题作者</a>
          </li>
        
          <li>
            <a href="http://reqianduan.com" target="_blank">热前端</a>
          </li>
        
          <li>
            <a href="https://www.xiyoulinux.org" target="_blank">西邮linux兴趣小组</a>
          </li>
        
      </ul>
    </div>
  </div>

  
</aside>
      
    </div>
    <footer id="footer">
  
  <div class="outer">
    <div id="footer-info" class="inner">
      &copy; 2016 wangbo<br>
      Powered by <a href="http://hexo.io/" target="_blank">Hexo</a>
      .
      Theme by <a href="https://github.com/xiangming/landscape-plus" target="_blank">Landscape-plus</a>
    </div>
  </div>
</footer>
  </div>
  <nav id="mobile-nav">
  
    <a href="/" class="mobile-nav-link">Home</a>
  
    <a href="/archives" class="mobile-nav-link">Archives</a>
  
</nav>
  <!-- totop start -->
<div id="totop">
<a title="返回顶部"><img src="/img/scrollup.png"/></a>
</div>

<!-- totop end -->

<!-- 多说公共js代码 start -->
<script type="text/javascript">
var duoshuoQuery = {short_name:"idina"};
  (function() {
    var ds = document.createElement('script');
    ds.type = 'text/javascript';ds.async = true;
    ds.src = (document.location.protocol == 'https:' ? 'https:' : 'http:') + '//static.duoshuo.com/embed.js';
    ds.charset = 'UTF-8';
    (document.getElementsByTagName('head')[0]
     || document.getElementsByTagName('body')[0]).appendChild(ds);
  })();
  </script>
<!-- 多说公共js代码 end -->


<!-- 百度分享 start -->

<!-- 百度分享 end -->

<script src="//cdnjs.cloudflare.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>




<script src="/js/script.js"></script>

</div>
</body>
</html>
